<html>
  <head>
    <title>Min Index</title>
    <script type="text/javascript" src="../../protovis.js"></script>
    <script type="text/javascript" src="../testify.js"></script>
    <link rel="stylesheet" type="text/css" href="../style.css"/>
    <link rel="stylesheet" type="text/css" href="../testify.css"/>
  </head>
  <body>
    <script type="text/javascript+protovis">

var i, text = "";

text += ">>> pv.min.index()\n";
text += "<b>domain\texpected\tactual</b>\n";

i = pv.min.index([]);
text += "([])\t-1\t" + i + "\n";

i = pv.min.index([Infinity]);
text += "([Infinity])\t0\t" + i + "\n";

i = pv.min.index([-Infinity]);
text += "([-Infinity])\t0\t" + i + "\n";

i = pv.min.index([NaN]);
text += "([NaN])\t0\t" + i + "\n";

i = pv.min.index([undefined]);
text += "([undefined])\t0\t" + i + "\n";

testify(text);

    </script>
  </body>
</html>
